using System;
using System.Collections.Generic;

namespace Data.Models
{
    public partial class Product
    {
        public Product()
        {
            this.ActualGoodInStocks = new List<ActualGoodInStock>();
            this.PurchaseDetails = new List<PurchaseDetail>();
        }

        public int ID { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public string Attachment { get; set; }
        public int ProductTypeID { get; set; }
        public string Description { get; set; }
        public Nullable<int> CategoryID { get; set; }
        public string ImageDesign { get; set; }
        public Nullable<int> ParentID { get; set; }
        public Nullable<int> Level { get; set; }
        public virtual ICollection<ActualGoodInStock> ActualGoodInStocks { get; set; }
        public virtual Category Category { get; set; }
        public virtual ProductType ProductType { get; set; }
        public virtual ICollection<PurchaseDetail> PurchaseDetails { get; set; }
    }
}
